const Router=require('koa-router')
const router=new Router()
const {index,upload}=require('../controllers/home')

// router.get('/',(ctx)=>{
//     ctx.body='这是主页1'
// })

// router.get('/',index)
router.post('/upload',upload)

module.exports=router